package com.yi.mall.order.controller;

import com.alibaba.nacos.shaded.com.google.common.collect.Lists;
import com.yi.mall.common.utils.ResponseEnum;
import com.yi.mall.common.utils.Result;
import com.yi.mall.order.service.impl.OpenFeignServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class OpenFeignController {
    @Autowired
    private OpenFeignServiceImpl openFeignService;
    @GetMapping("/api/rmall")
    public Result rmall(List<String> ids){
        openFeignService.cartrm(ids);
        return Result.success(ResponseEnum.SUCCESS);
    }
}
